#include "../include/Port_Global.h"

void fadepics(BITMAP * B_Buffer, int fadeflag, int fadetime)
{
	return;
		if(fadeflag == 0)
		{
			fblend_rect_trans(B_Buffer,50,140,350,200,makecol(168,171,239),255-fadetime);
			rectfill(B_Buffer,50,340,750,550,makecol(168,171,239));
			rectfill(B_Buffer,400,140,750,350,makecol(168,171,239));
		}

		if(fadeflag == 1)
		{
			fblend_rect_trans(B_Buffer,50,140,350,200,makecol(168,171,239),155 +fadetime);
			rectfill(B_Buffer,50,340,750,550,makecol(168,171,239));
			rectfill(B_Buffer,400,140,750,350,makecol(168,171,239));
		}
//NEXT PIC
		if(fadeflag == 2)
		{
			fblend_rect_trans(B_Buffer,400,140,350,200,makecol(168,171,239),255-fadetime);
			rectfill(B_Buffer,50,340,750,550,makecol(168,171,239));
			rectfill(B_Buffer,50,140,400,350,makecol(168,171,239));
		}

		if(fadeflag == 3)
		{
			fblend_rect_trans(B_Buffer,400,140,350,200,makecol(168,171,239),155 +fadetime);
			rectfill(B_Buffer,50,340,750,550,makecol(168,171,239));
			rectfill(B_Buffer,50,140,400,350,makecol(168,171,239));
		}
//NEXT PIC
		if(fadeflag == 4)
		{
			fblend_rect_trans(B_Buffer,50,340,350,200,makecol(168,171,239),255-fadetime);
			rectfill(B_Buffer,50,140,750,340,makecol(168,171,239));
			rectfill(B_Buffer,400,340,750,540,makecol(168,171,239));
		}

		if(fadeflag == 5)
		{
			fblend_rect_trans(B_Buffer,50,340,350,200,makecol(168,171,239),155 +fadetime);
			rectfill(B_Buffer,50,140,750,340,makecol(168,171,239));
			rectfill(B_Buffer,400,340,750,540,makecol(168,171,239));
		}
//NEXT PIC
		if(fadeflag == 6)
		{
			fblend_rect_trans(B_Buffer,400,340,350,200,makecol(168,171,239),255-fadetime);
			rectfill(B_Buffer,50,140,750,340,makecol(168,171,239));
			rectfill(B_Buffer,50,340,400,540,makecol(168,171,239));
		}

		if(fadeflag == 7)
		{
			fblend_rect_trans(B_Buffer,400,340,350,200,makecol(168,171,239),155 +fadetime);
			rectfill(B_Buffer,50,140,750,340,makecol(168,171,239));
			rectfill(B_Buffer,50,340,400,540,makecol(168,171,239));
		}

}